﻿//using System.Collections.Generic;
//using System.ServiceModel;
//using Lari.Framework.Exceptions.DataContract;
//using Lari.Services.Data;

//namespace Lari.Services.Service
//{
//    [ServiceContract]
//    public interface ICoreService : ILariService
//    {
//        [FaultContract(typeof (LariFault))]
//        [OperationContract]
//        Employee Logon(string uid, string password);

//        [FaultContract(typeof (LariFault))]
//        [OperationContract]
//        List<AppModule> GetAllModules();

//        //[FaultContract(typeof (LariFault))]
//        //[OperationContract]
//        //void UpdateModule(AppModule mod);

//        //[FaultContract(typeof (LariFault))]
//        //[OperationContract]
//        //List<Role> GetAllRoles(string search);

///*
//        [FaultContract(typeof (LariFault))]
//        [OperationContract]
//        List<AppModule> GetAllModuleWithRoles();
//*/

///*
//        [FaultContract(typeof (LariFault))]
//        [OperationContract]
//        int SaveRoleAccess(Role role, List<AppModule> list);
//*/

///*
//        [FaultContract(typeof (LariFault))]
//        [OperationContract]
//        List<Gender> GetAllGenders(); 
//*/
//    }
//}